package com.minis.test.ioc.service;

import com.minis.beans.factory.annotation.Autowired;

/**
 * @Author： HTTT
 * @Date： 2024/2/28 19:59
 * @Describe：
 */
public class BaseService {
    @Autowired
    private BaseBaseService bbs;

    public BaseBaseService getBbs() {
        return bbs;
    }
    public void setBbs(BaseBaseService bbs) {
        this.bbs = bbs;
    }
    public BaseService() {
    }
    public void sayHello() {
        System.out.print("Base Service says hello");
        bbs.sayHello();
    }
}